﻿@model IEnumerable<DLM.Domain.DTO.BillBoard>
@{
    ViewBag.Title = "达人秀列表";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script type="text/javascript">
    $(document).ready(function () {
        $("ul.clearfix li").mouseover(function () {

            $(this).addClass("hover");
        });
        $("ul.clearfix li").mouseout(function () {

            $(this).removeClass("hover");
        });
        $("a").css("cursor", "pointer");
    });
</script>
<div class="main register">
    <div class="main_tab_2">
        <div class="main_tab_2_up">
            <ul>
                <li class="current"><a href="#">达人秀</a></li>
            </ul>
        </div>
        <div class="main_tab_2_down">
            <div class="box">
                <h3>
                    达人列表<a>总共 @Model.Count() 名</a></h3>
                <div class="tr clearfix">
                    <div class="friend_list">
                        <ul class="clearfix">
                            @foreach (var item in Model)
                            {
                                <li><a href="@Url.Action("View", "User", new { id = item.UserID })">
                                    @if (item.Photo == "none_75_75.png")
                                    {
                                        <img src="@Url.Content("~/Content/ad/none_75_75.png")" alt="头像" height="77px" width="77px"/>
                                    }
                                    else
                                    { 
                                        <img src="@Url.Content("~/Files/Photos/" + item.UserID + "/Title/" + item.Photo)" height="77px" width="77px" />
                                    }
                                </a>
                                    <p>
                                        <a>@item.AccountName</a></p>
                                    <span><a href="@Url.Action("View", "User", new { id = item.UserID })">查看资料</a> @*   @if (Request.IsAuthenticated)
                                        {
                                            <a>加为好友</a>
                                        }*@ </span></li>
                            }
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="box" style="display: none;">
            456</div>
    </div>
</div>
</div> 